import request from '@/utils/request'
export default {
	// 获取字典树
	dictTree(data) {
		return request({
			url: '/sys/dict/loadTreeData',
			method: 'GET',
			data: data
		})
	},
	// 获取字典列表
	dictList(dictCode) {
		return request({
			url: '/sys/dict/getDictItems/'+dictCode,
			method: 'GET' //,
			//data: dictCode
		})
	},
}